package mest.service.cxj;

import mest.VO.cxj.FinancialOtherIncomeRecordVO;
import mest.entity.FinancialOtherIncomeRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FinancialOtherIncomeRecordService {

    /**
     * 添加收款单记录
     *
     * @param foir
     * @param theirDb
     * @return
     */
    Integer insertFinancialOtherIncomeRecord(FinancialOtherIncomeRecord foir, String theirDb) throws Exception;


    /**
     * 根据ID查询所有收款单记录
     *
     * @return
     */
    List<FinancialOtherIncomeRecordVO> selectAllFinancialOtherIncomeRecordById(Integer page, Integer limit, Integer foicId, String theirDb);


    /**
     * 根据ID查询所有收款单数量
     *
     * @return
     */
    Integer selectCountFinancialOtherIncomeRecordById(Integer foicId, String theirDb);


}
